import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',//主页路由
    name: 'home',
    component: ()=>import('@/views/Home/home.vue')
  },
  {
    path: '/resiger',//开户路由
    name: 'resiger',
    component: ()=>import('@/views/Resiger/resiger.vue')
  }, 
  {
    path: '/details',//登录路由
    name: 'details',
    component: ()=>import('@/views/Details/details.vue')
  },
  {
    path: '/info',//详情页面
    name: 'info',
    component: ()=>import('@/views/Info/info.vue')
  },  
  {
    path: '/goin',//添加路由
    name: 'goin',
    component: ()=>import('@/views/goIn/goin.vue')
  },
]

const router = new VueRouter({
  routes
})

export default router
